package cn.hloger.spider.demo.dataxDemo.bean;

import cn.hloger.spider.demo.dataxDemo.annotation.ApiModel;
import cn.hloger.spider.demo.dataxDemo.annotation.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * Sql执行的VO
 *
 * @Author chenzhixiang
 * @Date 2022-11-15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Sql执行的VO", description = "Sql执行的VO")
public class SqlAsyncExecuteVo {

    /**
     * sdk连接信息
     */
    @ApiModelProperty(name = "connectInfo", value = "连接信息")
    private String connectInfo;

    /**
     * sql信息
     */
    @ApiModelProperty(name = "sqlInfo", value = "sql信息")
    private SqlInfo sqlInfo;

    /**
     * 频道
     */
    @ApiModelProperty(name = "channel", value = "频道")
    private String channel;

    /**
     * 任务id
     */
    @ApiModelProperty(name = "taskId", value = "任务id")
    private String taskId;

    /**
     * 当前页码
     */
    @ApiModelProperty(name = "currentPage", value = "当前页码")
    private int currentPage;

    /**
     * 每页条数
     */
    @ApiModelProperty(name = "sizePage", value = "每页条数")
    private int sizePage;

    /**
     * es配置
     */
    @ApiModelProperty(name = "esConfig", value = "es配置")
    private EsConfig esConfig;

    /**
     * kafka配置
     */
    @ApiModelProperty(name = "kafkaConfig", value = "kafka配置")
    private KafkaConfig kafkaConfig;

    /**
     * redis配置
     */
    @ApiModelProperty(name = "redisConfig", value = "redis配置")
    private RedisConfig redisConfig;
}
